package com.ant.cn.services.imples;

import com.ant.cn.beans.UserBean;
import com.ant.cn.dao.UserDao;
import com.ant.cn.services.dao.UserServiceDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by baichuan on 2016/12/1.
 */

@Service
public class UserServiceImple implements UserServiceDao {

    @Autowired
    private UserDao userDao;

    public List<UserBean> getAll() {

        return userDao.getAll();
    }

}
